package com.tsd.jxc.order.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.order.entity.JxcOrderCutMoney;
import com.tsd.jxc.order.entity.JxcOrderCutMoneyExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcOrderCutMoneyMapper
 *
 * @author Hillpool
 * @date 2023/03/02 13:47:24
 */
public interface JxcOrderCutMoneyMapper {

    JxcOrderCutMoney selectByPrimaryKey(Long id);

    JxcOrderCutMoneyExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(JxcOrderCutMoney record);

    int insertSelective(JxcOrderCutMoney record);

    int insertList(@Param("list") List<JxcOrderCutMoneyExt> list);

    int updateByPrimaryKey(JxcOrderCutMoney record);

    int updateByPrimaryKeySelective(JxcOrderCutMoney record);

    int updateList(@Param("list") List<JxcOrderCutMoneyExt> list);

    List<JxcOrderCutMoneyExt> selectByEntity(JxcOrderCutMoneyExt record);

    List<JxcOrderCutMoneyExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcOrderCutMoneyExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcOrderCutMoneyExt> selectByParams(@Param("params") Map<String, Object> params);

    List<JxcOrderCutMoneyExt> selectByPostSaleList(@Param("post_sale_list") List<String> post_sale_list);

    List<JxcOrderCutMoneyExt> selectByOrderDetailList(@Param("type") String type, @Param("order_detail_list") List<String> order_detail_list, @Param("request_sid") String request_sid);
}